package store.lunangangster.nodeflow.test.el.flow._if.test_component;

import java.util.Random;
import org.springframework.stereotype.Component;
import store.lunangangster.nodeflow.core.component.IfComponent;

@Component("judgeChildAwake")
public class JudgeChildAwakeComp extends IfComponent {

  @Override
  protected boolean processIf() {
    return new Random().nextBoolean();
  }
}
